use std::path::{Path, PathBuf};

#[derive(Clone)]
pub struct ProjectDirInfo {
    app_vue: PathBuf,
    src_path: PathBuf,
}

impl ProjectDirInfo {
    pub fn new(project_dir: &Path) -> Self {
        Self {
            app_vue: PathBuf::from(project_dir)
                .join(".")
                .join("src")
                .join("App.vue"),
            src_path: PathBuf::from(project_dir).join("src"),
        }
    }

    pub fn app_vue(&self) -> &PathBuf {
        &self.app_vue
    }
    pub fn src_path(&self) -> &PathBuf {
        &self.src_path
    }
}
